<div class="ng-pagination">
    <label ng-if="pageCount>1 || showIfOnePage">当前第&nbsp;{{currentPage}}&nbsp;页&nbsp;/&nbsp;共&nbsp;{{pageCount}}&nbsp;页，总计&nbsp;{{totalRow}}&nbsp;条</label>
    <ul ng-if="pageCount>1 || showIfOnePage"><li ng-click="pageChange(1)" ng-if="showFirstLastText">{{firstText}}</li>
        <li ng-click="pageChange(currentPage-1>0?currentPage-1:1)">{{prevText}}</li>
        <li ng-repeat="pagenum in pagenums track by pagenum" ng-click="pageChange(pagenum)" ng-class="{active:currentPage===pagenum}">{{pagenum}}</li>
        <li ng-click="pageChange(currentPage+1<=pageCount?currentPage+1:pageCount)">{{nextText}}</li>
        <li ng-click="pageChange(pageCount)" ng-if="showFirstLastText">{{lastText}}</li>
    </ul>
    <label ng-if="showGoto && (pageCount>1 || showIfOnePage)">{{gotoText}}<input type="text" ng-keyup="keyupHanlder($event)">页</label>
</div>